﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IHISCETeim.DAL;
using IHISCETeim.Model;
using IHISCETeim.Library;
using System.Data;
namespace IHISCETeim.BLL
{
    public  class AgentPWMacKeepController
    {
        public static DataTableCollection AgentPWMacKeep_GetPagination(string whereSql, int PageIndex, int PageSize, string Sort, ref int TotalCount)
        {
            return AgentPWMacKeepDAL.AgentPWMacKeep_GetPagination(whereSql, PageIndex, PageSize, Sort, ref TotalCount);
        }
        public static int AgentPWMacKeepDetail_Add(int PWUMKID, AgentPWMacKeepDetailInfo obj)
        {
            return AgentPWMacKeepDAL.AgentPWMacKeepDetail_Add(PWUMKID, obj);
        }
        public static AgentPWMacKeepDetailInfo AgentPWMacKeepDetail_GetList(int UMKDID)
        {
            return CBO.FillObject< AgentPWMacKeepDetailInfo>( AgentPWMacKeepDAL.AgentPWMacKeepDetail_GetList(UMKDID));
        }
        public static bool AgentPWMacKeepDetail_Update(int PWUMKID, AgentPWMacKeepDetailInfo obj)
        {
            return AgentPWMacKeepDAL.AgentPWMacKeepDetail_Update(PWUMKID, obj);
        }
    }
}
